var n = require;
var o = module;
cc.Class({
    extends: cc.Component,
    properties: {label: cc.Label},
    onLoad: function onLoad() {
        this.node.on(cc.Node.EventType.TOUCH_START, this.onTouchStart, this);
    },
    start: function start() {},
    setLabel: function setLabel(n) {
        this.label.string = n;
    },
    onTouchStart: function onTouchStart() {
        var n = new cc.Event.EventCustom("WordOnTouchStart", !0);
        n.setUserData({label: this.label.string, node: this.node}), this.node.dispatchEvent(n);
    }
});
